// 园区参数设置
import {
    ajaxPostBack,
    ajaxPost
} from '@/utils/data/request'

// 参数列表
export function list(params: any) {
    return ajaxPostBack("house-set/list-param", params)
}

// 新增
export function add(params: any) {
    return ajaxPost("house-set/create-param", params, { successMessage: true })
}

// 删除
export function del({ param_sn, yard_sn }: any) {
    return ajaxPost("house-set/delete-param", { param_sn, yard_sn }, { successMessage: true })
}


// 设置园区通行门禁
export function doorTraffic(params: any) {
    return ajaxPost("house-set/door-traffic", params, { successMessage: true })
}

// 设置园区经营门禁
export function doorOperate(params: any) {
    return ajaxPost("house-set/door-operate", params, { successMessage: true })
}

// 设置物业支付渠道
export function wyPay(params: any) {
    return ajaxPost("house-set/wy-pay", params, { successMessage: true })
}

// 设置车场支付渠道
export function parkPay(params: any) {
    return ajaxPost("house-set/park-pay", params, { successMessage: true })
}

// 设置OA对接渠道
export function oa(params: any) {
    return ajaxPost("house-set/oa-system", params, { successMessage: true })
}



